﻿using SHZY.Business.Entitys;

namespace SHZY.Business.Interfaces;

/// <summary>
/// 业务抽象：制程报检单.
/// </summary>
public interface IQmsBusiIpqcinspectionService
{
    /// <summary>
    /// 生成检验单
    /// </summary>
    /// <param name="entity">制程报检单</param>
    /// <returns></returns>
    Task<dynamic> GenerateInspectionDay();
    /// <summary>
    /// 生成检验单
    /// </summary>
    /// <param name="entity">制程报检单</param>
    /// <returns></returns>
    Task<dynamic> GenerateInspectionHour();

    /// <summary>
    /// 处理隔日关闭自动生成检验批
    /// </summary>
    /// <returns></returns>
    Task<dynamic> GenerateInspectionClose();
}